import pytest
from ProjectPath.ProjectPath import recous_path
from Common.InitBrowser import InitBrowser
import os

@pytest.fixture(scope='class')
def driver():

    driver = InitBrowser(os.path.join(recous_path,'chromedriver.exe'))
    yield driver
    driver.web.quit()
